package DesignPatern.A20_状态模式.MSB.thread;

public class NewState extends ThreadState_
{
    private Thread_ t;
    
    public NewState(Thread_ t)
    {
        this.t = t;
    }
    
    @Override
    void move(Action input)
    {
        if (input.msg == "start") t.state = new RunningState(t);
    }
    
    @Override
    void run()
    {
    
    }
}
